﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteContent.Master" Inherits="System.Web.Mvc.ViewPage<ProjectFitus.Models.UserAndSpecialistCapsule>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf.is | <%=Model.usr.userName %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>



            <% Html.RenderPartial("UserEdit", Model.usr);%>
            <%
            if (Model.speciali != null)
            {
                Html.RenderPartial("SpecialistEdit", Model.speciali);
            }%>

            <p>
                <input type="submit" value="Vista" />
            </p>

    <% } %> 

    <div>
        <%: Html.ActionLink("Til baka", "Details", new{id=Model.usr.id}) %> |
        <%: Html.ActionLink("Til baka á forsíðu", "Index","Home") %>
    </div>


</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
